package view;

import controller.Controller;
import model.container.ResourceDispatcher;

import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

/**
 * Created by IntelliJ IDEA.
 * User: QIUKX of Freshpower.com.cn
 * Date: 2008-2-25
 * Time: 16:34:17
 */
public class AnalysisPanel extends JPanel {
    private JFrame parent;
    private Controller controller;

    public AnalysisPanel(JFrame parent, Controller controller) {
        this.parent = parent;
        this.controller = controller;
        try {
            this.controller.setDispatcher(new ResourceDispatcher());
        } catch (Exception e) {
            e.printStackTrace();
        }
        setSize(600, 500);
        draw();
    }

    private int draw() {

        return 0;
    }


}
